home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / hypercar / xcmd / pictoidu.sit / Pictoid Utilities / background_2781.xml next >
Encoding:
Extensible Markup Language  |  1991-04-27  |  6.0 KB  |  202 lines

  1. <?xml version="1.0" encoding="utf-8" ?>
  2. <!DOCTYPE background PUBLIC "-//Apple, Inc.//DTD background V 2.0//EN" "" >
  3. <background>
  4.     <id>2781</id>
  5.     <filler1>0</filler1>
  6.     <cantDelete> <false /> </cantDelete>
  7.     <showPict> <true /> </showPict>
  8.     <dontSearch> <false /> </dontSearch>
  9.     <link rel="stylesheet" type="text/css" href="stylesheet_3160.css" />
  10.     <part>
  11.         <id>2</id>
  12.         <type>field</type>
  13.         <visible> <true /> </visible>
  14.         <dontWrap> <false /> </dontWrap>
  15.         <dontSearch> <false /> </dontSearch>
  16.         <sharedText> <false /> </sharedText>
  17.         <fixedLineHeight> <false /> </fixedLineHeight>
  18.         <autoTab> <false /> </autoTab>
  19.         <lockText> <true /> </lockText>
  20.         <rect>
  21.             <left>5</left>
  22.             <top>42</top>
  23.             <right>410</right>
  24.             <bottom>219</bottom>
  25.         </rect>
  26.         <style>opaque</style>
  27.         <autoSelect> <false /> </autoSelect>
  28.         <showLines> <false /> </showLines>
  29.         <wideMargins> <true /> </wideMargins>
  30.         <multipleLines> <false /> </multipleLines>
  31.         <reservedFamily> 0 </reservedFamily>
  32.         <titleWidth>0</titleWidth>
  33.         <icon>0</icon>
  34.         <textAlign>left</textAlign>
  35.         <font>Palatino</font>
  36.         <textSize>12</textSize>
  37.         <textStyle>plain</textStyle>
  38.         <textHeight>16</textHeight>
  39.         <name>Text</name>
  40.         <script></script>
  41.     </part>
  42.     <part>
  43.         <id>3</id>
  44.         <type>field</type>
  45.         <visible> <true /> </visible>
  46.         <dontWrap> <false /> </dontWrap>
  47.         <dontSearch> <false /> </dontSearch>
  48.         <sharedText> <false /> </sharedText>
  49.         <fixedLineHeight> <false /> </fixedLineHeight>
  50.         <autoTab> <false /> </autoTab>
  51.         <lockText> <true /> </lockText>
  52.         <rect>
  53.             <left>159</left>
  54.             <top>224</top>
  55.             <right>260</right>
  56.             <bottom>239</bottom>
  57.         </rect>
  58.         <style>opaque</style>
  59.         <autoSelect> <false /> </autoSelect>
  60.         <showLines> <false /> </showLines>
  61.         <wideMargins> <false /> </wideMargins>
  62.         <multipleLines> <false /> </multipleLines>
  63.         <reservedFamily> 0 </reservedFamily>
  64.         <titleWidth>0</titleWidth>
  65.         <icon>0</icon>
  66.         <textAlign>center</textAlign>
  67.         <font>Palatino</font>
  68.         <textSize>10</textSize>
  69.         <textStyle>plain</textStyle>
  70.         <textHeight>13</textHeight>
  71.         <name>Page</name>
  72.         <script></script>
  73.     </part>
  74.     <part>
  75.         <id>6</id>
  76.         <type>button</type>
  77.         <visible> <true /> </visible>
  78.         <reserved5> 0 </reserved5>
  79.         <reserved4> 0 </reserved4>
  80.         <reserved3> 0 </reserved3>
  81.         <reserved2> 0 </reserved2>
  82.         <reserved1> 0 </reserved1>
  83.         <enabled> <true /> </enabled>
  84.         <rect>
  85.             <left>395</left>
  86.             <top>219</top>
  87.             <right>416</right>
  88.             <bottom>240</bottom>
  89.         </rect>
  90.         <style>opaque</style>
  91.         <showName> <false /> </showName>
  92.         <highlight> <false /> </highlight>
  93.         <autoHighlight> <false /> </autoHighlight>
  94.         <sharedHighlight> <true /> </sharedHighlight>
  95.         <family>0</family>
  96.         <titleWidth>0</titleWidth>
  97.         <icon>8419</icon>
  98.         <textAlign>center</textAlign>
  99.         <font>Chicago</font>
  100.         <textSize>12</textSize>
  101.         <textStyle>plain</textStyle>
  102.         <name>Next</name>
  103.         <script>on mouseDown
  104. send mouseStillDown to me
  105. end mouseDown
  106.  
  107. on mouseStillDown
  108. visual effect wipe left
  109. go next card
  110. end mouseStillDown</script>
  111.     </part>
  112.     <part>
  113.         <id>8</id>
  114.         <type>button</type>
  115.         <visible> <true /> </visible>
  116.         <reserved5> 0 </reserved5>
  117.         <reserved4> 0 </reserved4>
  118.         <reserved3> 0 </reserved3>
  119.         <reserved2> 0 </reserved2>
  120.         <reserved1> 0 </reserved1>
  121.         <enabled> <true /> </enabled>
  122.         <rect>
  123.             <left>0</left>
  124.             <top>219</top>
  125.             <right>21</right>
  126.             <bottom>240</bottom>
  127.         </rect>
  128.         <style>opaque</style>
  129.         <showName> <false /> </showName>
  130.         <highlight> <false /> </highlight>
  131.         <autoHighlight> <false /> </autoHighlight>
  132.         <sharedHighlight> <true /> </sharedHighlight>
  133.         <family>0</family>
  134.         <titleWidth>0</titleWidth>
  135.         <icon>17779</icon>
  136.         <textAlign>center</textAlign>
  137.         <font>Chicago</font>
  138.         <textSize>12</textSize>
  139.         <textStyle>plain</textStyle>
  140.         <name>Prev</name>
  141.         <script>on mouseDown
  142. send mouseStillDown to me
  143. end mouseDown
  144.  
  145. on mouseStillDown
  146. visual effect wipe right
  147. go prev card
  148. end mouseStillDown</script>
  149.     </part>
  150.     <part>
  151.         <id>9</id>
  152.         <type>field</type>
  153.         <visible> <true /> </visible>
  154.         <dontWrap> <false /> </dontWrap>
  155.         <dontSearch> <false /> </dontSearch>
  156.         <sharedText> <false /> </sharedText>
  157.         <fixedLineHeight> <false /> </fixedLineHeight>
  158.         <autoTab> <false /> </autoTab>
  159.         <lockText> <true /> </lockText>
  160.         <rect>
  161.             <left>5</left>
  162.             <top>5</top>
  163.             <right>412</right>
  164.             <bottom>39</bottom>
  165.         </rect>
  166.         <style>shadow</style>
  167.         <autoSelect> <false /> </autoSelect>
  168.         <showLines> <false /> </showLines>
  169.         <wideMargins> <true /> </wideMargins>
  170.         <multipleLines> <false /> </multipleLines>
  171.         <reservedFamily> 0 </reservedFamily>
  172.         <titleWidth>0</titleWidth>
  173.         <icon>0</icon>
  174.         <textAlign>left</textAlign>
  175.         <font>Palatino</font>
  176.         <textSize>24</textSize>
  177.         <textStyle>bold</textStyle>
  178.         <textHeight>32</textHeight>
  179.         <name>Title</name>
  180.         <script>on mouseDown
  181. if the optionKey is down
  182. then
  183. set the visible of bg btn "Lock" to not the visible of bg btn "Lock"
  184. end if
  185. end mouseDown</script>
  186.     </part>
  187.     <part>
  188.         <id>10</id>
  189.         <type>button</type>
  190.         <visible> <false /> </visible>
  191.         <reserved5> 0 </reserved5>
  192.         <reserved4> 0 </reserved4>
  193.         <reserved3> 0 </reserved3>
  194.         <reserved2> 0 </reserved2>
  195.         <reserved1> 0 </reserved1>
  196.         <enabled> <true /> </enabled>
  197.         <rect>
  198.             <left>61</left>
  199.             <top>221</top>
  200.             <right>112</right>
  201.             <bottom>237</bottom>
  202.         </rect>
  203.         <style>checkbox</style>
  204.         <showName> <true /> </showName>
  205.         <highlight> <true /> </highlight>
  206.         <autoHighlight> <true /> </autoHighlight>
  207.         <sharedHighlight> <true /> </sharedHighlight>
  208.         <family>0</family>
  209.         <titleWidth>0</titleWidth>
  210.         <icon>0</icon>
  211.         <textAlign>center</textAlign>
  212.         <font>Chicago</font>
  213.         <textSize>12</textSize>
  214.         <textStyle>plain</textStyle>
  215.         <name>Lock</name>
  216.         <script>on mouseUp
  217. set the lockText of fld "Text" to the hilite of me
  218. set the lockText of fld "Title" to the hilite of me
  219. end mouseUp</script>
  220.     </part>
  221.     <name></name>
  222.     <script>on openCard
  223. put "Page" && (the number of this card - the number of the first cd of this bg + 1) ┬¼
  224. && "of" && the number of cards in this bg into fld "Page"
  225. end openCard
  226.  
  227. on arrowKey which
  228. if which is "left" then
  229. send mouseDown to bg btn "Prev"
  230. else
  231. if which is "Right" then
  232. send mouseDown to bg btn "Next"
  233. else
  234. pass arrowKey
  235. end if
  236. end if
  237. end arrowKey</script>
  238. </background>
  239.